package com.example.springboot_demo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Goods {
    private Integer id;					//id
    private String name;			//名字
    private String goodsno;			//编号
    private String author;			//作者
    private String publisher;		//出版社
    private String pubtime;			//发布时间
    private Integer categoryid;			//类别
    private String description;	//详情
    private String image;			//图片
    private Integer stock;			    //库存
    private BigDecimal marketprice;	//原价
    private BigDecimal salesprice;	//现价
    private BigDecimal score;		//折扣
    private Integer remarknums;			//评论数
    private Date uptime;			//上架时间
    private int salenums;			//销量
    private String newest;			//
    private String hot;				//热卖
    private String status;			//状态


}
